package cn.iocoder.yudao.module.pmp.controller.admin.project.vo;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 项目登记新增/修改 Request VO")
@Data
public class ProjectSaveReqVO extends BaseDO {

    @Schema(description = "编号，主键自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "17195")
    private Long id;

    @Schema(description = "项目名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")

    private String name;

    @Schema(description = "项目编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String projcetNo;

    @Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "16987")

    private Long customerId;

    @Schema(description = "商机编号", example = "28972")
    private Long businessId;

    @Schema(description = "合同编号", example = "6111")
    private Long contractId;

    @Schema(description = "最后跟进时间")
    private LocalDateTime contactLastTime;

    @Schema(description = "项目经理编号", example = "31032")

    private Long ownerUserId;

    @Schema(description = "工作流编号", example = "23971")
    private String processInstanceId;

    @Schema(description = "审批状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")

    private Integer auditStatus;

    @Schema(description = "进场日期")
    private LocalDateTime jcDate;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "项目金额", example = "8571")
    private BigDecimal projcetPrice;

    @Schema(description = "整单折扣")
    private BigDecimal discountPercent;

    @Schema(description = "项目状态", example = "2")
    private String projcetStatus;

    @Schema(description = "是否提前进场")
    private int sftqjc;

    @Schema(description = "提前进场日期")
    private LocalDateTime tqjcDate;

    @Schema(description = "商务负责人", example = "28514")
    private Long signUserId;

    @Schema(description = "项目简介", example = "你猜")
    private String remark;

}
